using Newtonsoft.Json;
using System;

namespace NP.BPMReportPlatform.Entities.BPM_Business.LCZX
{
    public class LCZXCPGJHeader : BaseHead
    {
        /// <summary>
        /// 课程编号
        /// </summary>
        [JsonProperty(PropertyName = "CourseCode")]
        public string CourseCode { get; set; }

        /// <summary>
        /// 价格变更原因
        /// </summary>
        [JsonProperty(PropertyName = "ChangeReason")]
        public string ChangeReason { get; set; }

        /// <summary>
        /// 价格变更有效期
        /// </summary>
        [JsonProperty(PropertyName = "ValidStartTime")]
        public DateTime? ValidStartTime { get; set; }

        /// <summary>
        /// 价格变更有效期
        /// </summary>
        [JsonProperty(PropertyName = "ValidEndTime")]
        public DateTime? ValidEndTime { get; set; }

        /// <summary>
        /// 价格
        /// </summary>
        [JsonProperty(PropertyName = "Price")]
        public decimal? Price { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        [JsonProperty(PropertyName = "Unit")]
        public string Unit { get; set; }

        /// <summary>
        /// 预估人数
        /// </summary>
        [JsonProperty(PropertyName = "PeopleCount")]
        public decimal? PeopleCount { get; set; }

        /// <summary>
        /// 预估总销售额
        /// </summary>
        [JsonProperty(PropertyName = "TotalPrice")]
        public decimal? TotalPrice { get; set; }

        /// <summary>
        /// 预估场次
        /// </summary>
        [JsonProperty(PropertyName = "ClassCount")]
        public decimal? ClassCount { get; set; }

        /// <summary>
        /// 预估项目总成本
        /// </summary>
        [JsonProperty(PropertyName = "TotalCost")]
        public decimal? TotalCost { get; set; }

        /// <summary>
        /// 收益预估(元)
        /// </summary>
        [JsonProperty(PropertyName = "Profit")]
        public decimal? Profit { get; set; }

        /// <summary>
        /// RMCC%
        /// </summary>
        [JsonProperty(PropertyName = "RMCC")]
        public decimal? RMCC { get; set; }

        /// <summary>
        /// 项目核价明细
        /// </summary>
        [JsonProperty(PropertyName = "PricingDetailFileId")]
        public string PricingDetailFileId { get; set; }

        /// <summary>
        /// 项目核价明细
        /// </summary>
        [JsonProperty(PropertyName = "PricingDetailFileName")]
        public string PricingDetailFileName { get; set; }

        /// <summary>
        /// 变更前价格
        /// </summary>
        [JsonProperty(PropertyName = "BeforePrice")]
        public decimal? BeforePrice { get; set; }

        /// <summary>
        /// 变更前单位
        /// </summary>
        [JsonProperty(PropertyName = "BeforeUnit")]
        public string BeforeUnit { get; set; }

        /// <summary>
        /// 变更前预估总销售额
        /// </summary>
        [JsonProperty(PropertyName = "BeforeTotalPrice")]
        public decimal? BeforeTotalPrice { get; set; }

        /// <summary>
        /// 变更前预估项目总成本
        /// </summary>
        [JsonProperty(PropertyName = "BeforeTotalCost")]
        public decimal? BeforeTotalCost { get; set; }

        /// <summary>
        /// 变更前收益预估(元)
        /// </summary>
        [JsonProperty(PropertyName = "BeforeProfit")]
        public decimal? BeforeProfit { get; set; }

        /// <summary>
        /// 变更前RMCC%
        /// </summary>
        [JsonProperty(PropertyName = "BeforeRMCC")]
        public decimal? BeforeRMCC { get; set; }

        /// <summary>
        /// 变更前项目核价明细
        /// </summary>
        [JsonProperty(PropertyName = "BeforePricingDetailFileId")]
        public string BeforePricingDetailFileId { get; set; }

        /// <summary>
        /// 变更前项目核价明细
        /// </summary>
        [JsonProperty(PropertyName = "BeforePricingDetailFileName")]
        public string BeforePricingDetailFileName { get; set; }

        /// <summary>
        /// 同步SAP时间
        /// </summary>
        [JsonProperty(PropertyName = "AsyncTime")]
        public DateTime? AsyncTime { get; set; }

        /// <summary>
        /// LBDXListingApplicationDetail.Id
        /// </summary>
        [JsonProperty(PropertyName = "CourseId")]
        public string CourseId { get; set; }

        /// <summary>
        /// 变更前有效期
        /// </summary>
        [JsonProperty(PropertyName = "BeforeStartDate")]
        public DateTime? BeforeStartDate { get; set; }

        /// <summary>
        /// 变更前有效期
        /// </summary>
        [JsonProperty(PropertyName = "BeforeEndDate")]
        public DateTime? BeforeEndDate { get; set; }



        /// <summary>
        /// SAP物料编号，保存从同步SAP后得到的物料编号
        /// </summary>
        [JsonProperty(PropertyName = "MaterialCode")]
        public string MaterialCode { get; set; }

        /// <summary>
        /// 是否同步成功 0 否 1 是
        /// </summary>
        [JsonProperty(PropertyName = "IsSyncSuccess")]
        public int IsSyncSuccess { get; set; }

        /// <summary>
        /// 同步SAP返回的描述
        /// </summary>
        [JsonProperty(PropertyName = "SyncResult")]
        public string SyncResult { get; set; }

    }
}